196e3c360261cc4cf25a4d859b41bca3b189c57d,src/main/java/org/elasticsearch/action/deletebyquery/TransportShardDeleteByQueryAction.java,TransportShardDeleteByQueryAction,shardOperationOnReplica,#ReplicaOperationRequest#,136

Before Change


        IndexService indexService = indicesService.indexServiceSafe(shardRequest.request.index());
        IndexShard indexShard = indexService.shardSafe(shardRequest.shardId);

        SearchContext.setCurrent(new DefaultSearchContext(0, new ShardSearchRequest().types(request.types()), null,
                indexShard.acquireSearcher("delete_by_query", IndexShard.Mode.WRITE), indexService, indexShard, scriptService,
                cacheRecycler, pageCacheRecycler, bigArrays));
        try {

After Change


        IndexService indexService = indicesService.indexServiceSafe(shardRequest.request.index());
        IndexShard indexShard = indexService.shardSafe(shardRequest.shardId);

        SearchContext.setCurrent(new DefaultSearchContext(0, new ShardSearchRequest().types(request.types()).nowInMillis(request.nowInMillis()), null,
                indexShard.acquireSearcher("delete_by_query", IndexShard.Mode.WRITE), indexService, indexShard, scriptService,
                cacheRecycler, pageCacheRecycler, bigArrays));
        try {